class CreateRatingsReviews < ActiveRecord::Migration
  def change
    create_table :ratings_reviews, :id => false  do |t|
      t.references :rating
      t.references :review
    end
    add_index :ratings_reviews, :rating_id
    add_index :ratings_reviews, :review_id
  end
end
